#ifndef CHECKINGACCOUNT_HH
#define CHECKINGACCOUNT_HH

#include "Account.hh"
#include <cstring>
class CheckingAccount : public Account {
public:
    CheckingAccount(std::string accountId, long long balance, std::string holder);

    bool deposit(long long amount, const std::string& note = "") override;


    bool withdraw(long long amount, const std::string& note = "") override;

    void showinfo() override;

    static std::string generateAccountID();
};

#endif // CHECKINGACCOUNT_HH
